-
Notifications
You must be signed in to change notification settings - Fork 132
Add attrs to partial gran spans & tracking metrics #1608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add attrs to partial gran spans & tracking metrics #1608
Conversation
29ea8dd to
dca5328
Compare
✅MegaLinter analysis: Success
See detailed reports in MegaLinter artifacts |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop-hybrid-core-tracing #1608 +/- ##
==============================================================
Coverage ? 79.81%
==============================================================
Files ? 213
Lines ? 25105
Branches ? 3992
==============================================================
Hits ? 20038
Misses ? 3639
Partials ? 1428 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| # If the span is an exit span and we are in reduced mode (meaning no attribute dropping), | ||
| # just return the exit span as is. | ||
| if partial_granularity_type == "reduced": | ||
| ct_exit_spans["kept"] += 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a bug here that I fixed which is why this is here now. I had to move these into here because gets incremented multiple times if it's put in span_events because span_events loops over the children and then the children of the children (so it gets incremented multiple times each time is yields the node up the chain) where as here it is guaranteed that it is only incremented once.
904321d to
ed87ffa
Compare
48eecd9
into
develop-hybrid-core-tracing

Overview
nr.idsin compact mode.nr.pgto entry span to track when a transaction is partial granularity.not a==b=>a!=b).